﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using DatabaseCompare.Model;

namespace DatabaseCompare.Service.Compare
{

    public interface ICompareAbleListCompare<T1, T2>
        where T1 : CompareAble
        where T2 : CompareAbleResult<T1>
    {
        /// <summary>
        /// 两个List比较.
        /// </summary>
        /// <param name="leftList"></param>
        /// <param name="rightList"></param>
        /// <returns></returns>
        List<T2> Compare(List<T1> leftList, List<T1> rightList);

    }

}
